package com.homedo.odin.solution.dao;

import com.homedo.core.common.base.dao.BaseDao;
import com.homedo.odin.solution.model.entity.HebiOrder;
import org.apache.ibatis.annotations.Param;

/**
 * <p> 订单流水号 Mapper 接口 </p>
 *
 * @author HarveyDing
 * @since 2018-03-15
 */
public interface HebiOrderMapper extends BaseDao<HebiOrder> {


    /**
     * 获取总收入
     */
    HebiOrder getProfitAmount(@Param("userId") int userId);

    Integer queryHebiByBusinessId(@Param("bizId") String bizId);
}